package com.yike.user.service;

import com.yike.user.entity.ShopPayChannel;
import com.yike.user.param.ShopPayChannelPageParam;
import com.yike.common.base.BaseService;
import com.yike.common.pagination.Paging;
import com.yike.user.param.ShopPayChannelParam;
import com.yike.user.vo.ShopPayChannelVo;

/**
 * 店铺支付渠道 服务类
 *
 * @author Sakura
 * @since 2024-11-15
 */
public interface ShopPayChannelService extends BaseService<ShopPayChannel> {

    /**
     * 保存
     *
     * @param shopPayChannelParam
     * @return
     * @throws Exception
     */
    boolean saveShopPayChannel(ShopPayChannelParam shopPayChannelParam) throws Exception;

    /**
     * 修改
     *
     * @param shopPayChannelParam
     * @return
     * @throws Exception
     */
    boolean updateShopPayChannel(ShopPayChannelParam shopPayChannelParam) throws Exception;

    /**
     * 删除
     *
     * @param id
     * @return
     * @throws Exception
     */
    boolean deleteShopPayChannel(Long id) throws Exception;

    ShopPayChannelVo getShopPayChannel(Long id) throws Exception;

    /**
     * 获取分页对象
     *
     * @param shopPayChannelPageParam
     * @return
     * @throws Exception
     */
    Paging<ShopPayChannelVo> getShopPayChannelPageList(ShopPayChannelPageParam shopPayChannelPageParam) throws Exception;

}
